Optimal. Leaf size=287 \[ \frac {d^3 \left (20 c^2-30 c d+13 d^2\right ) \tanh ^{-1}(\sin (e+f x))}{2 a^3 f}-\frac {2 d \left (2 c^4+15 c^3 d+72 c^2 d^2-180 c d^3+76 d^4\right ) \tan (e+f x)}{15 a^3 f}-\frac {d^2 \left (4 c^3+30 c^2 d+146 c d^2-195 d^3\right ) \sec (e+f x) \tan (e+f x)}{30 a^3 f}+\frac {(c-d) \left (2 c^2+15 c d+76 d^2\right ) (c+d \sec (e+f x))^2 \tan (e+f x)}{15 f \left (a^3+a^3 \sec (e+f x)\right )}+\frac {(c-d) (2 c+11 d) (c+d \sec (e+f x))^3 \tan (e+f x)}{15 a f (a+a \sec (e+f x))^2}+\frac {(c-d) (c+d \sec (e+f x))^4 \tan (e+f x)}{5 f (a+a \sec (e+f x))^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.28, antiderivative size = 329, normalized size of antiderivative = 1.15, number of steps
used = 8, number of rules used = 7, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.226, Rules used = {4072, 100, 155,
152, 65, 223, 209} \begin {gather*} \frac {(c-d) \left (2 c^2+15 c d+76 d^2\right ) \tan (e+f x) (c+d \sec (e+f x))^2}{15 f \left (a^3 \sec (e+f x)+a^3\right )}-\frac {d \tan (e+f x) \left (d \left (4 c^3+30 c^2 d+146 c d^2-195 d^3\right ) \sec (e+f x)+4 \left (2 c^4+15 c^3 d+72 c^2 d^2-180 c d^3+76 d^4\right )\right )}{30 a^3 f}+\frac {d^3 \left (20 c^2-30 c d+13 d^2\right ) \tan (e+f x) \text {ArcTan}\left (\frac {\sqrt {a-a \sec (e+f x)}}{\sqrt {a (\sec (e+f x)+1)}}\right )}{a^2 f \sqrt {a-a \sec (e+f x)} \sqrt {a \sec (e+f x)+a}}+\frac {(c-d) \tan (e+f x) (c+d \sec (e+f x))^4}{5 f (a \sec (e+f x)+a)^3}+\frac {(c-d) (2 c+11 d) \tan (e+f x) (c+d \sec (e+f x))^3}{15 a f (a \sec (e+f x)+a)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 100
Rule 152
Rule 155
Rule 209
Rule 223
Rule 4072
Rubi steps
\begin {align*} \int \frac {\sec (e+f x) (c+d \sec (e+f x))^5}{(a+a \sec (e+f x))^3} \, dx &=-\frac {\left (a^2 \tan (e+f x)\right ) \text {Subst}\left (\int \frac {(c+d x)^5}{\sqrt {a-a x} (a+a x)^{7/2}} \, dx,x,\sec (e+f x)\right )}{f \sqrt {a-a \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\\ &=\frac {(c-d) (c+d \sec (e+f x))^4 \tan (e+f x)}{5 f (a+a \sec (e+f x))^3}+\frac {\tan (e+f x) \text {Subst}\left (\int \frac {(c+d x)^3 \left (-a^2 (2 c-d) (c+4 d)+a^2 (2 c-7 d) d x\right )}{\sqrt {a-a x} (a+a x)^{5/2}} \, dx,x,\sec (e+f x)\right )}{5 a f \sqrt {a-a \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\\ &=\frac {(c-d) (2 c+11 d) (c+d \sec (e+f x))^3 \tan (e+f x)}{15 a f (a+a \sec (e+f x))^2}+\frac {(c-d) (c+d \sec (e+f x))^4 \tan (e+f x)}{5 f (a+a \sec (e+f x))^3}+\frac {\tan (e+f x) \text {Subst}\left (\int \frac {(c+d x)^2 \left (-a^4 \left (2 c^3+9 c^2 d+37 c d^2-33 d^3\right )+a^4 d \left (4 c^2+24 c d-43 d^2\right ) x\right )}{\sqrt {a-a x} (a+a x)^{3/2}} \, dx,x,\sec (e+f x)\right )}{15 a^4 f \sqrt {a-a \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\\ &=\frac {(c-d) \left (2 c^2+15 c d+76 d^2\right ) (c+d \sec (e+f x))^2 \tan (e+f x)}{15 f \left (a^3+a^3 \sec (e+f x)\right )}+\frac {(c-d) (2 c+11 d) (c+d \sec (e+f x))^3 \tan (e+f x)}{15 a f (a+a \sec (e+f x))^2}+\frac {(c-d) (c+d \sec (e+f x))^4 \tan (e+f x)}{5 f (a+a \sec (e+f x))^3}+\frac {\tan (e+f x) \text {Subst}\left (\int \frac {(c+d x) \left (-a^6 d^2 \left (2 c^2+165 c d-152 d^2\right )+a^6 d \left (4 c^3+30 c^2 d+146 c d^2-195 d^3\right ) x\right )}{\sqrt {a-a x} \sqrt {a+a x}} \, dx,x,\sec (e+f x)\right )}{15 a^7 f \sqrt {a-a \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\\ &=\frac {(c-d) \left (2 c^2+15 c d+76 d^2\right ) (c+d \sec (e+f x))^2 \tan (e+f x)}{15 f \left (a^3+a^3 \sec (e+f x)\right )}+\frac {(c-d) (2 c+11 d) (c+d \sec (e+f x))^3 \tan (e+f x)}{15 a f (a+a \sec (e+f x))^2}+\frac {(c-d) (c+d \sec (e+f x))^4 \tan (e+f x)}{5 f (a+a \sec (e+f x))^3}-\frac {d \left (4 \left (2 c^4+15 c^3 d+72 c^2 d^2-180 c d^3+76 d^4\right )+d \left (4 c^3+30 c^2 d+146 c d^2-195 d^3\right ) \sec (e+f x)\right ) \tan (e+f x)}{30 a^3 f}-\frac {\left (d^3 \left (20 c^2-30 c d+13 d^2\right ) \tan (e+f x)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a-a x} \sqrt {a+a x}} \, dx,x,\sec (e+f x)\right )}{2 a f \sqrt {a-a \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\\ &=\frac {(c-d) \left (2 c^2+15 c d+76 d^2\right ) (c+d \sec (e+f x))^2 \tan (e+f x)}{15 f \left (a^3+a^3 \sec (e+f x)\right )}+\frac {(c-d) (2 c+11 d) (c+d \sec (e+f x))^3 \tan (e+f x)}{15 a f (a+a \sec (e+f x))^2}+\frac {(c-d) (c+d \sec (e+f x))^4 \tan (e+f x)}{5 f (a+a \sec (e+f x))^3}-\frac {d \left (4 \left (2 c^4+15 c^3 d+72 c^2 d^2-180 c d^3+76 d^4\right )+d \left (4 c^3+30 c^2 d+146 c d^2-195 d^3\right ) \sec (e+f x)\right ) \tan (e+f x)}{30 a^3 f}+\frac {\left (d^3 \left (20 c^2-30 c d+13 d^2\right ) \tan (e+f x)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {2 a-x^2}} \, dx,x,\sqrt {a-a \sec (e+f x)}\right )}{a^2 f \sqrt {a-a \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\\ &=\frac {(c-d) \left (2 c^2+15 c d+76 d^2\right ) (c+d \sec (e+f x))^2 \tan (e+f x)}{15 f \left (a^3+a^3 \sec (e+f x)\right )}+\frac {(c-d) (2 c+11 d) (c+d \sec (e+f x))^3 \tan (e+f x)}{15 a f (a+a \sec (e+f x))^2}+\frac {(c-d) (c+d \sec (e+f x))^4 \tan (e+f x)}{5 f (a+a \sec (e+f x))^3}-\frac {d \left (4 \left (2 c^4+15 c^3 d+72 c^2 d^2-180 c d^3+76 d^4\right )+d \left (4 c^3+30 c^2 d+146 c d^2-195 d^3\right ) \sec (e+f x)\right ) \tan (e+f x)}{30 a^3 f}+\frac {\left (d^3 \left (20 c^2-30 c d+13 d^2\right ) \tan (e+f x)\right ) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {a-a \sec (e+f x)}}{\sqrt {a+a \sec (e+f x)}}\right )}{a^2 f \sqrt {a-a \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}\\ &=\frac {d^3 \left (20 c^2-30 c d+13 d^2\right ) \tan ^{-1}\left (\frac {\sqrt {a-a \sec (e+f x)}}{\sqrt {a+a \sec (e+f x)}}\right ) \tan (e+f x)}{a^2 f \sqrt {a-a \sec (e+f x)} \sqrt {a+a \sec (e+f x)}}+\frac {(c-d) \left (2 c^2+15 c d+76 d^2\right ) (c+d \sec (e+f x))^2 \tan (e+f x)}{15 f \left (a^3+a^3 \sec (e+f x)\right )}+\frac {(c-d) (2 c+11 d) (c+d \sec (e+f x))^3 \tan (e+f x)}{15 a f (a+a \sec (e+f x))^2}+\frac {(c-d) (c+d \sec (e+f x))^4 \tan (e+f x)}{5 f (a+a \sec (e+f x))^3}-\frac {d \left (4 \left (2 c^4+15 c^3 d+72 c^2 d^2-180 c d^3+76 d^4\right )+d \left (4 c^3+30 c^2 d+146 c d^2-195 d^3\right ) \sec (e+f x)\right ) \tan (e+f x)}{30 a^3 f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 2.12, size = 439, normalized size = 1.53 \begin {gather*} \frac {-480 d^3 \left (20 c^2-30 c d+13 d^2\right ) \cos ^6\left (\frac {1}{2} (e+f x)\right ) \left (\log \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )-\log \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )\right )+2 \cos \left (\frac {1}{2} (e+f x)\right ) \left (29 c^5+105 c^4 d+340 c^3 d^2-1940 c^2 d^3+3420 c d^4-1354 d^5+3 \left (12 c^5+90 c^4 d+120 c^3 d^2-1020 c^2 d^3+1910 c d^4-777 d^5\right ) \cos (e+f x)+6 \left (6 c^5+20 c^4 d+60 c^3 d^2-360 c^2 d^3+630 c d^4-261 d^5\right ) \cos (2 (e+f x))+12 c^5 \cos (3 (e+f x))+90 c^4 d \cos (3 (e+f x))+120 c^3 d^2 \cos (3 (e+f x))-1020 c^2 d^3 \cos (3 (e+f x))+1710 c d^4 \cos (3 (e+f x))-717 d^5 \cos (3 (e+f x))+7 c^5 \cos (4 (e+f x))+15 c^4 d \cos (4 (e+f x))+20 c^3 d^2 \cos (4 (e+f x))-220 c^2 d^3 \cos (4 (e+f x))+360 c d^4 \cos (4 (e+f x))-152 d^5 \cos (4 (e+f x))\right ) \sec ^2(e+f x) \sin \left (\frac {1}{2} (e+f x)\right )}{120 a^3 f (1+\cos (e+f x))^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.28, size = 441, normalized size = 1.54 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 747 vs.
\(2 (288) = 576\).
time = 0.30, size = 747, normalized size = 2.60 \begin {gather*} -\frac {d^{5} {\left (\frac {60 \, {\left (\frac {5 \, \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - \frac {7 \, \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}}\right )}}{a^{3} - \frac {2 \, a^{3} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {a^{3} \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}}} + \frac {\frac {465 \, \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {40 \, \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {3 \, \sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}}}{a^{3}} - \frac {390 \, \log \left (\frac {\sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + 1\right )}{a^{3}} + \frac {390 \, \log \left (\frac {\sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - 1\right )}{a^{3}}\right )} - 15 \, c d^{4} {\left (\frac {40 \, \sin \left (f x + e\right )}{{\left (a^{3} - \frac {a^{3} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}}\right )} {\left (\cos \left (f x + e\right ) + 1\right )}} + \frac {\frac {85 \, \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {10 \, \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {\sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}}}{a^{3}} - \frac {60 \, \log \left (\frac {\sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + 1\right )}{a^{3}} + \frac {60 \, \log \left (\frac {\sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - 1\right )}{a^{3}}\right )} + 10 \, c^{2} d^{3} {\left (\frac {\frac {105 \, \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {20 \, \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {3 \, \sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}}}{a^{3}} - \frac {60 \, \log \left (\frac {\sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + 1\right )}{a^{3}} + \frac {60 \, \log \left (\frac {\sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - 1\right )}{a^{3}}\right )} - \frac {10 \, c^{3} d^{2} {\left (\frac {15 \, \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {10 \, \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {3 \, \sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}}\right )}}{a^{3}} - \frac {c^{5} {\left (\frac {15 \, \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - \frac {10 \, \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {3 \, \sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}}\right )}}{a^{3}} - \frac {15 \, c^{4} d {\left (\frac {5 \, \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - \frac {\sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}}\right )}}{a^{3}}}{60 \, f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.86, size = 521, normalized size = 1.82 \begin {gather*} \frac {15 \, {\left ({\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} \cos \left (f x + e\right )^{5} + 3 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} \cos \left (f x + e\right )^{4} + 3 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} \cos \left (f x + e\right )^{3} + {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} \cos \left (f x + e\right )^{2}\right )} \log \left (\sin \left (f x + e\right ) + 1\right ) - 15 \, {\left ({\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} \cos \left (f x + e\right )^{5} + 3 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} \cos \left (f x + e\right )^{4} + 3 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} \cos \left (f x + e\right )^{3} + {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} \cos \left (f x + e\right )^{2}\right )} \log \left (-\sin \left (f x + e\right ) + 1\right ) + 2 \, {\left (15 \, d^{5} + 2 \, {\left (7 \, c^{5} + 15 \, c^{4} d + 20 \, c^{3} d^{2} - 220 \, c^{2} d^{3} + 360 \, c d^{4} - 152 \, d^{5}\right )} \cos \left (f x + e\right )^{4} + 3 \, {\left (4 \, c^{5} + 30 \, c^{4} d + 40 \, c^{3} d^{2} - 340 \, c^{2} d^{3} + 570 \, c d^{4} - 239 \, d^{5}\right )} \cos \left (f x + e\right )^{3} + {\left (4 \, c^{5} + 30 \, c^{4} d + 140 \, c^{3} d^{2} - 640 \, c^{2} d^{3} + 1170 \, c d^{4} - 479 \, d^{5}\right )} \cos \left (f x + e\right )^{2} + 15 \, {\left (10 \, c d^{4} - 3 \, d^{5}\right )} \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )}{60 \, {\left (a^{3} f \cos \left (f x + e\right )^{5} + 3 \, a^{3} f \cos \left (f x + e\right )^{4} + 3 \, a^{3} f \cos \left (f x + e\right )^{3} + a^{3} f \cos \left (f x + e\right )^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {c^{5} \sec {\left (e + f x \right )}}{\sec ^{3}{\left (e + f x \right )} + 3 \sec ^{2}{\left (e + f x \right )} + 3 \sec {\left (e + f x \right )} + 1}\, dx + \int \frac {d^{5} \sec ^{6}{\left (e + f x \right )}}{\sec ^{3}{\left (e + f x \right )} + 3 \sec ^{2}{\left (e + f x \right )} + 3 \sec {\left (e + f x \right )} + 1}\, dx + \int \frac {5 c d^{4} \sec ^{5}{\left (e + f x \right )}}{\sec ^{3}{\left (e + f x \right )} + 3 \sec ^{2}{\left (e + f x \right )} + 3 \sec {\left (e + f x \right )} + 1}\, dx + \int \frac {10 c^{2} d^{3} \sec ^{4}{\left (e + f x \right )}}{\sec ^{3}{\left (e + f x \right )} + 3 \sec ^{2}{\left (e + f x \right )} + 3 \sec {\left (e + f x \right )} + 1}\, dx + \int \frac {10 c^{3} d^{2} \sec ^{3}{\left (e + f x \right )}}{\sec ^{3}{\left (e + f x \right )} + 3 \sec ^{2}{\left (e + f x \right )} + 3 \sec {\left (e + f x \right )} + 1}\, dx + \int \frac {5 c^{4} d \sec ^{2}{\left (e + f x \right )}}{\sec ^{3}{\left (e + f x \right )} + 3 \sec ^{2}{\left (e + f x \right )} + 3 \sec {\left (e + f x \right )} + 1}\, dx}{a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.61, size = 504, normalized size = 1.76 \begin {gather*} \frac {\frac {30 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} \log \left ({\left | \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1 \right |}\right )}{a^{3}} - \frac {30 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} \log \left ({\left | \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 1 \right |}\right )}{a^{3}} - \frac {60 \, {\left (10 \, c d^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} - 7 \, d^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} - 10 \, c d^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 5 \, d^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}}{{\left (\tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - 1\right )}^{2} a^{3}} + \frac {3 \, a^{12} c^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{5} - 15 \, a^{12} c^{4} d \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{5} + 30 \, a^{12} c^{3} d^{2} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{5} - 30 \, a^{12} c^{2} d^{3} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{5} + 15 \, a^{12} c d^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{5} - 3 \, a^{12} d^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{5} - 10 \, a^{12} c^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} + 100 \, a^{12} c^{3} d^{2} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} - 200 \, a^{12} c^{2} d^{3} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} + 150 \, a^{12} c d^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} - 40 \, a^{12} d^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} + 15 \, a^{12} c^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 75 \, a^{12} c^{4} d \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 150 \, a^{12} c^{3} d^{2} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 1050 \, a^{12} c^{2} d^{3} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1275 \, a^{12} c d^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 465 \, a^{12} d^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )}{a^{15}}}{60 \, f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.87, size = 252, normalized size = 0.88 \begin {gather*} \frac {\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )\,\left (\frac {3\,{\left (c-d\right )}^5}{2\,a^3}-\frac {15\,\left (c+d\right )\,{\left (c-d\right )}^4}{4\,a^3}+\frac {5\,{\left (c+d\right )}^2\,{\left (c-d\right )}^3}{2\,a^3}\right )}{f}+\frac {\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )\,\left (10\,c\,d^4-5\,d^5\right )-{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^3\,\left (10\,c\,d^4-7\,d^5\right )}{f\,\left (a^3\,{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^4-2\,a^3\,{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^2+a^3\right )}+\frac {{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^3\,\left (\frac {{\left (c-d\right )}^5}{4\,a^3}-\frac {5\,\left (c+d\right )\,{\left (c-d\right )}^4}{12\,a^3}\right )}{f}+\frac {{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^5\,{\left (c-d\right )}^5}{20\,a^3\,f}+\frac {d^3\,\mathrm {atanh}\left (\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )\right )\,\left (20\,c^2-30\,c\,d+13\,d^2\right )}{a^3\,f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________